overflow如何出现横条滚动条
html overflow如何出现横条滚动条 -
overflow-x:scroll;水平overflow-y:scroll;垂直,
<style type="text/css"> .Attopic{display:block; left: 56px; position: absolute; top: 68px; z-index: 999; background: #fff; border: 1px solid #ccc;padding: 2px; width: 180px; height: 100px; overflow-x:hidden; overflow-y:hidden;} </style> </head> <body> <ul id=等我继续说。
overflow-x:scroll;水平overflow-y:scroll;垂直,
<style type="text/css"> .Attopic{display:block; left: 56px; position: absolute; top: 68px; z-index: 999; background: #fff; border: 1px solid #ccc;padding: 2px; width: 180px; height: 100px; overflow-x:hidden; overflow-y:hidden;} </style> </head> <body> <ul id=等我继续说。
你给body设置下高度试试!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ";> 子页面不要表头去掉iframe 横向滚动条或竖条1. 在主页面加iframe scrolling="yes" 或"auto"2. css 文件body { overflow-x : hidden; 去掉横条overflow-y : hidd说完了。